.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #222; 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 500px; 
    width: 90%;
    text-align: center; 
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff; 
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

.modal-content label {
    margin-bottom: 10px;
    color: #fff;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s;
}

.modal-button {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s;
    background-color: #bb2d3b;
    color: #fff;
    font-size: 14px;
}

.modal-buttons button[type="submit"] {
    background-color: mediumpurple;
    color: #fff;
}

.modal-buttons button[type="submit"]:hover {
    transform: scale(1.1);
}

.modal-buttons button[type="button"] {
    background-color: #ccc;
    color: #000;
}

.modal-buttons button[type="button"]:hover {
    transform: scale(1.1);
}

.modal select option {
    background-color: #444;
    color: #fff;
    font-size: 16px;
}

.modal select option:checked {
    background-color: #666;
    color: #fff;
}
